<template>
  <div class="no">
    <p class="p1">我的</p>
    <slot name="top"></slot>
    <div class="tab-box">
      <div class="tab">
        <span style="font-weight: 700;font-size: 20px;">0</span>
        <span style="color: #6c757d;font-size: 15px;margin-top: 10px;">帖子</span>
      </div>
      <div class="tab">
        <span style="font-weight: 700;font-size: 20px;">0</span>
        <span style="color: #6c757d;font-size: 15px;margin-top: 10px;">动态</span>
      </div>
      <div class="tab">
        <span style="font-weight: 700;font-size: 20px;">0</span>
        <span style="color: #6c757d;font-size: 15px;margin-top: 10px;">评论</span>
      </div>
      <div class="tab">
        <span style="font-weight: 700;font-size: 20px;">0</span>
        <span style="color: #6c757d;font-size: 15px;margin-top: 10px;">粉丝</span>
      </div>
    </div>
    <div class="tab-gg">
      <img src="../../assets/image/wd.jpg" alt="">
    </div>
    <div class="list-box">
      <div class="list">
        <i class="iconfont">&#xebcc;</i>
        <span style="font-size: 16px;margin-left: 10px;">浏览历史</span>
        <i class="iconfont" style="margin-left: 246px;color: rgb(187, 187, 187);">&#xe67c;</i>
      </div>
      <div class="list">
        <i class="iconfont">&#xe60f;</i>
        <span style="font-size: 16px; margin-left: 10px;">社区认证</span>
        <i class="iconfont" style="margin-left: 246px;color: rgb(187, 187, 187);">&#xe67c;</i>
      </div>
      <div class="list">
        <i class="iconfont">&#xe61d;</i>
        <span style="font-size: 16px;margin-left: 10px;">审核帖子</span>
        <i class="iconfont" style="margin-left: 246px;color: rgb(187, 187, 187);">&#xe67c;</i>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    tologin() {
      this.$emit('tologin')
    }
  }

}
</script>

<style lang="scss" scoped>
$width: 100%;

.no {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 94%;
  margin: auto;

  .p1 {
    height: 30px;
    font-size: 16px;
    font-weight: 1000;
    margin-top: 20px;
  }

  .p2 {
    font-size: 15px;
    margin-top: 20px;
  }

  .p3 {
    color: #6c757d;
    font-size: 15px;
    margin-top: 50px;
  }
  .box{
    height: 83px;
  }

  .tab-box {
    display: flex;
    align-items: center;
    height: 83px;
    width: $width;
    margin-top: 20px;

    .tab {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 25%;
      height: 70px;
      background-color: #fff;
    }
  }

  .tab-gg {
    position: relative;
    height: 85px;
    width: $width;
    overflow: hidden;

    img {
      position: absolute;
      bottom: 0;
      left: 0;
      margin-bottom: -40px;
      width: $width;
    }
  }

  .list-box {
    width: $width;
    height: 30px;
    padding-top: 15px;

    .list {
      padding: 15px 0;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      width: $width;
    }
  }
}
</style>